﻿using RepositoryAndEf.Domain;
using System.Data.Entity.ModelConfiguration;

namespace RepositoryAndEf.Data.Mapping
{
    public class ProductMap : EntityTypeConfiguration<Product>
    {
        public ProductMap()
        {
            ToTable("Products")
               .HasKey(c => c.Id);
        }
    }
}
